package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkGroupIds);

    PageResult findPage(QueryPageBean queryPageBean);

    Setmeal findById(Integer id);

    List<Integer> findCheckgroupIdsBySetMealId(Integer id);

    List<Setmeal> findAllSetmeal();

    Setmeal findAllById(Integer id);

    void edit(Setmeal setmeal, Integer[] id);

    void delete(Integer id);
}
